use d_07_24::Point;
struct PointWrapper(Point);
impl PartialEq for PointWrapper {
    fn eq(&self, other: &Self) -> bool {
        self.0.x == other.0.x && self.0.y == other.0.y
    }
}

fn main() {
    let p1 = Point { x: 3, y: 1 };
    let p2 = Point { x: 3, y: 1 };
    let p3 = Point { x: 5, y: 5 };
    // println!("{:?}", p1);
    // println!("{}", p2 == p1);
    // println!("{}", p3 == p2);
}
